<?php
/**
 * Created by PhpStorm.
 * User: luanalex
 * Date: 2017/9/18
 * Time: 11:31
 */

?>

<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="content-type" content="text/html">
    <meta charset="UTF-8">
    <meta content="always" name="referrer">
    <meta name="theme-color" content="#2932e1">
    <link href="../home/style/163css.css" rel="stylesheet"/>

    <script src="https://cdn.bootcss.com/react/15.4.2/react.min.js"></script>
    <script src="https://cdn.bootcss.com/react/15.4.2/react-dom.min.js"></script>
    <script src="https://cdn.bootcss.com/babel-standalone/6.22.1/babel.min.js"></script>

    <style type="text/css">

    </style>
    <title>十里香</title>
</head>

<body>

<div id="example"></div>

</body>
</html>
<script type="text/babel">
    var HelloMessage = React.createClass({
        render: function() {
            return <h1>Hello World！</h1>;
        }
    });

    ReactDOM.render(
    <HelloMessage />,
        document.getElementById('example')
    );
</script>